projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba1f19
)
switch: Remove .slider from slider gadget
author
Timm Bäder
<mail@baedert.org>
Wed, 4 May 2016 16:55:33 +0000
(18:55 +0200)
committer
Timm Bäder
<mail@baedert.org>
Wed, 4 May 2016 16:55:33 +0000
(18:55 +0200)
As the documentation states, neither the switch nor the slider gadget
should be using any style classes.
gtk/gtkswitch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkswitch.c
b/gtk/gtkswitch.c
index 5ab35c7898e2891fd4eddd6ed993786c704e89f6..b09b3b42105a4cf1a4a546a61a8321fbd82b53b6 100644
(file)
--- a/
gtk/gtkswitch.c
+++ b/
gtk/gtkswitch.c
@@
-1059,7
+1059,6
@@
gtk_switch_init (GtkSwitch *self)
gtk_switch_render_slider,
NULL,
NULL);
- gtk_css_gadget_add_class (priv->slider_gadget, GTK_STYLE_CLASS_SLIDER);
gesture = gtk_gesture_multi_press_new (GTK_WIDGET (self));
gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (gesture), FALSE);